package com.xintoucloud.springbootmybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;

import java.util.Date;

@Data
@TableName("t_stu")
public class Student extends Model<Student> {
    @TableId(type=IdType.AUTO)
    private Integer sid;
    private String sname;
    private String gender;
    private Date birthday;
    private String cardId;
    private String pic;
    private String address;
}
